package com.luyuan.gallery.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.luyuan.common.annotation.Excel;
import com.luyuan.common.core.domain.BaseEntity;

/**
 * 展厅观看记录对象 exhi_gallery_views
 * 
 * @author luyuan
 * @date 2025-11-13
 */
public class ExhiGalleryViews extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 展厅ID */
    @Excel(name = "展厅ID")
    private Long galleryId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setGalleryId(Long galleryId) {
        this.galleryId = galleryId;
    }

    public Long getGalleryId() {
        return galleryId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("galleryId", getGalleryId())
                .append("userId", getUserId())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
